package com.wanmait.baohan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class HotelAccount implements Serializable {
    private Integer id;

    /**
	* 申请表id
	*/
    private BookingHotelApplication bookingHotelApplication;

    /**
	* 酒店城市
	*/
    private Integer hotelCity;

    /**
	* 酒店名
	*/
    private String name;

    /**
	* 入住时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+08")
    private Date checkTime;

    /**
	* 退房时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+08")
    private Date endTime;

    /**
	* 酒店地址
	*/
    private String address;

    /**
	* 酒店类型
	*/
    private Dictionary hotelType;

    /**
	* 房间号
	*/
    private Integer roomNumber;

    /**
	* 费用
	*/
    private String price;

    /**
	* 操作人id
	*/
    private Integer addStaffId;

    /**
	* 操作时间
	*/
    private Date addTime;

    /**
	* 备注
	*/
    private String remark;

    /**
	* 状态0未删   1删除
	*/
    private Boolean enable;

    /**
	* 修改人id
	*/
    private Integer updateStaffId;

    /**
	* 修改时间
	*/
    private Date updateTime;

    /**
	* 房客
	*/
    private Staff tenant;

    public List<Staff> getStaffList() {
        return staffList;
    }

    public void setStaffList(List<Staff> staffList) {
        this.staffList = staffList;
    }

    /**
     * 房客
     */
    private List<Staff> staffList;
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getHotelCity() {
        return hotelCity;
    }

    public void setHotelCity(Integer hotelCity) {
        this.hotelCity = hotelCity;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }


    public Integer getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(Integer roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public BookingHotelApplication getBookingHotelApplication() {
        return bookingHotelApplication;
    }

    public void setBookingHotelApplication(BookingHotelApplication bookingHotelApplication) {
        this.bookingHotelApplication = bookingHotelApplication;
    }

    public Staff getTenant() {
        return tenant;
    }

    public void setTenant(Staff tenant) {
        this.tenant = tenant;
    }

    public Dictionary getHotelType() {
        return hotelType;
    }

    public void setHotelType(Dictionary hotelType) {
        this.hotelType = hotelType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", applicationId=").append(bookingHotelApplication);
        sb.append(", hotelCity=").append(hotelCity);
        sb.append(", name=").append(name);
        sb.append(", checkTime=").append(checkTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", address=").append(address);
        sb.append(", hotelTypeId=").append(hotelType);
        sb.append(", roomNumber=").append(roomNumber);
        sb.append(", price=").append(price);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", remark=").append(remark);
        sb.append(", enable=").append(enable);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", tenant=").append(tenant);
        sb.append("]");
        return sb.toString();
    }
}